﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Diagnostics;

namespace FlickrXplorer.Web.ViewData
{
  /// <summary>
  /// Holds information about a <exref target="http://www.flickr.com/">flickr</exref>
  /// photostream. Each photo is stored in a <see cref="FlickrXplorer.Web.ViewData.Photo" text="Photo" />
  /// instance. 
  /// </summary>                                                                                        
  [Serializable]
  public class PhotoCollection : List<Photo>
  {
    /// <summary>
    /// Gets or sets the current page number.
    /// </summary>                           
    public int Page { get; set; }
    /// <summary>
    /// Gets or sets the total number of <see cref="FlickrXplorer.Web.ViewData.Photo" text="photos" />
    /// in the collection.
    /// </summary>                                                                                   
    public int Total { get; set; }
    /// <summary>
    /// Gets or sets the total number of pages in this collection
    /// </summary>                                               
    public int Pages { get; set; }
  }
}
